home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / goodies / jpeg file interchange format / jfif preview component / jfifpreviewer.r < prev   
Encoding:
Text File  |  2000-09-28  |  1.6 KB  |  109 lines

  1. /*
  2.     File:        JFIFPreviewer.r
  3.  
  4.     Contains:    
  5.  
  6.     Written by:     
  7.  
  8.     Copyright:    Copyright © 1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 8/16/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23.  
  24.  
  25. #include    "Types.r"
  26.  
  27. type 'thng' {
  28.     hex longint    type;
  29.     hex longint    subType;
  30.     hex longint    manufacturere;
  31.     hex    longint    flags;
  32.     hex    longint flagsMask;
  33.     hex longint    thingResType;    
  34.     int thingResID;
  35.     hex longint  thingNameResType;
  36.     int thingNameResID;
  37.     hex longint  thingInfoResType;
  38.     int thingInfoResID;
  39.     hex longint  thingIconResType;
  40.     int thingIconResID;
  41. };
  42.  
  43. resource 'thng' (909) {
  44.     'pnot',
  45.     'JPEG',
  46.     'appl',
  47.     2,
  48.     0,
  49.     'pnot',
  50.     909,
  51.     'STR ',
  52.     909,
  53.     'STR ',
  54.     909,
  55.     0,
  56.     0
  57. };
  58.  
  59. resource 'thng' (910) {
  60.     'pmak',
  61.     'JPEG',
  62.     'appl',
  63.     0,
  64.     0,
  65.     'pnot',
  66.     909,
  67.     'STR ',
  68.     909,
  69.     'STR ',
  70.     909,
  71.     0,
  72.     0
  73. };
  74.  
  75. resource 'thng' (911) {
  76.     'pnot',
  77.     'JFIF',
  78.     'appl',
  79.     2,
  80.     0,
  81.     'pnot',
  82.     909,
  83.     'STR ',
  84.     909,
  85.     'STR ',
  86.     909,
  87.     0,
  88.     0
  89. };
  90.  
  91. resource 'thng' (912) {
  92.     'pmak',
  93.     'JFIF',
  94.     'appl',
  95.     0,
  96.     0,
  97.     'pnot',
  98.     909,
  99.     'STR ',
  100.     909,
  101.     'STR ',
  102.     909,
  103.     0,
  104.     0
  105. };
  106.  
  107. resource 'STR ' (909) {
  108.     "JFIF Preview Comp";
  109. };